package com.yy.micro.magic.config;

import com.yy.micro.magic.MagicConfiguration;

import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 /**
   * @author YY
   * @version 1.0.0
   * @update 2021/9/20 9:52 下午
   * @description: 开启Magic Cube，把Magic相关注入到Spring Bean中。
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import(MagicConfiguration.class)
public @interface AutoEnabledMagicCube {
}
